package files;

<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@taglib uri="http://java.sun.com/jsf/html" prefix="h" %><%@taglib uri="http://www.icesoft.com/icefaces/component" prefix="ice" %>
<f:view>
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
            <title>Files Detail</title>
            <link rel="stylesheet" type="text/css" href="/WebIDE-war/faces/jsfcrud.css" />
        </head>
        <body>
            <ice:panelGroup id="messagePanel" layout="block">
                <ice:messages errorStyle="color: red" infoStyle="color: green" layout="table"/>
            </ice:panelGroup>
            <h1>Files Detail</h1>
            <ice:form>
                <ice:panelGrid columns="2">
                    <ice:outputText value="Id:"/>
                    <ice:outputText value="#{files.files.id}" title="Id" />
                    <ice:outputText value="Name:"/>
                    <ice:outputText value="#{files.files.name}" title="Name" />
                    <ice:outputText value="Created:"/>
                    <ice:outputText value="#{files.files.created}" title="Created" >
                        <f:convertDateTime pattern="MM/dd/yyyy HH:mm:ss" />
                    </ice:outputText>
                    <ice:outputText value="Modified:"/>
                    <ice:outputText value="#{files.files.modified}" title="Modified" >
                        <f:convertDateTime pattern="MM/dd/yyyy HH:mm:ss" />
                    </ice:outputText>
                    <ice:outputText value="ProjectId:"/>
                    <ice:panelGroup>
                        <ice:outputText value=" #{files.files.projectId}"/>
                        <ice:panelGroup rendered="#{files.files.projectId != null}">
                            <ice:outputText value=" ("/>
                            <ice:commandLink value="Show" action="#{projects.detailSetup}">
                                <f:param name="jsfcrud.currentFiles" value="#{jsfcrud_class['webidewar.jsf.util.JsfUtil'].jsfcrud_method['getAsConvertedString'][files.files][files.converter].jsfcrud_invoke}"/>
                                <f:param name="jsfcrud.currentProjects" value="#{jsfcrud_class['webidewar.jsf.util.JsfUtil'].jsfcrud_method['getAsConvertedString'][files.files.projectId][projects.converter].jsfcrud_invoke}"/>
                                <f:param name="jsfcrud.relatedController" value="files"/>
                                <f:param name="jsfcrud.relatedControllerType" value="webidewar.jsf.FilesController"/>
                            </ice:commandLink>
                            <ice:outputText value=" "/>
                            <ice:commandLink value="Edit" action="#{projects.editSetup}">
                                <f:param name="jsfcrud.currentFiles" value="#{jsfcrud_class['webidewar.jsf.util.JsfUtil'].jsfcrud_method['getAsConvertedString'][files.files][files.converter].jsfcrud_invoke}"/>
                                <f:param name="jsfcrud.currentProjects" value="#{jsfcrud_class['webidewar.jsf.util.JsfUtil'].jsfcrud_method['getAsConvertedString'][files.files.projectId][projects.converter].jsfcrud_invoke}"/>
                                <f:param name="jsfcrud.relatedController" value="files"/>
                                <f:param name="jsfcrud.relatedControllerType" value="webidewar.jsf.FilesController"/>
                            </ice:commandLink>
                            <ice:outputText value=" "/>
                            <ice:commandLink value="Destroy" action="#{projects.destroy}">
                                <f:param name="jsfcrud.currentFiles" value="#{jsfcrud_class['webidewar.jsf.util.JsfUtil'].jsfcrud_method['getAsConvertedString'][files.files][files.converter].jsfcrud_invoke}"/>
                                <f:param name="jsfcrud.currentProjects" value="#{jsfcrud_class['webidewar.jsf.util.JsfUtil'].jsfcrud_method['getAsConvertedString'][files.files.projectId][projects.converter].jsfcrud_invoke}"/>
                                <f:param name="jsfcrud.relatedController" value="files"/>
                                <f:param name="jsfcrud.relatedControllerType" value="webidewar.jsf.FilesController"/>
                            </ice:commandLink>
                            <ice:outputText value=" )"/>
                        </ice:panelGroup>
                    </ice:panelGroup>
                </ice:panelGrid>
                <br />
                <ice:commandLink action="#{files.destroy}" value="Destroy">
                    <f:param name="jsfcrud.currentFiles" value="#{jsfcrud_class['webidewar.jsf.util.JsfUtil'].jsfcrud_method['getAsConvertedString'][files.files][files.converter].jsfcrud_invoke}" />
                </ice:commandLink>
                <br />
                <br />
                <ice:commandLink action="#{files.editSetup}" value="Edit">
                    <f:param name="jsfcrud.currentFiles" value="#{jsfcrud_class['webidewar.jsf.util.JsfUtil'].jsfcrud_method['getAsConvertedString'][files.files][files.converter].jsfcrud_invoke}" />
                </ice:commandLink>
                <br />
                <ice:commandLink action="#{files.createSetup}" value="New Files" />
                <br />
                <ice:commandLink action="#{files.listSetup}" value="Show All Files Items"/>
                <br />
                <ice:commandLink value="Index" action="welcome" immediate="true" />
            </ice:form>
        </body>
    </html>
</f:view>
